package dockyin.structure.pattern.decorator;

public class Decorator implements Sourceable {
    private Source source;

    public Decorator(Source source) {
        super();
        this.source = source;
    }

    @Override
    public void method() {
        System.out.println("Decorate message start!!!");
        source.method();
        System.out.println("Decorate message end!!!");
    }
}
